pandas groupby based on two columns

visit shbcf.ru